import request from '@/utils/axios';
import appName from "@/api/appName";

export function queryListForFather(params) {
    return request({
      url: appName.NB+'/maintain/reinsure/queryList',
      method: 'post',
      data: params
    })
}
export function queryListForChild(params) {
    return request({
      url: appName.NB+'/maintain/reinsure/queryChildList',
      method: 'post',
      data: params
    })
}
export function addChild(params) {
    return request({
      url: appName.NB+'/maintain/reinsure/addChild',
      method: 'post',
      data: params
    })
}
export function updateChild(params) {
    return request({
      url: appName.NB+'/maintain/reinsure/updateChild',
      method: 'post',
      data: params
    })
}
export function deleteChild(params) {
    return request({
      url: appName.NB+'/maintain/reinsure/deleteChild',
      method: 'post',
      data: params
    })
}
export function queryReinsureCrtable(params) {
    return request({
      url: appName.NB+'/maintain/reinsure/queryReinsureCrtable',
      method: 'post',
      data: params
    })
}
export function deleteFather(params) {
    return request({
      url: appName.NB+'/maintain/reinsure/delete',
      method: 'post',
      data: params
    })
}